<template>
    <div>
        <p>
            <span v-for="item,index in nav" :key="index">{{item.name}}<i>/</i></span>
        </p>
    </div>
</template>

<script>

export default {
    props:["nav"],
    data () {
        return {


        }
    }
}
</script>

<style lang = "less" scoped>
p{
    padding: 10px 0;
    color: #999;
    :last-child{
        color: #333;
        font-weight: 500;
        i{
            display: none;
        }
    }
    i{
        padding: 0 5px;
    }
}
</style>